<%-- 
    Document   : header
    Created on : 24 mai 2010, 15:33:41
    Author     : coralie
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>VOD World</title>
        <link rel=stylesheet type="text/css" href="style.css">
</head>
    <body>

            <div id="topbar" >
                VOD World
            </div>


            <div id="navbar">
                <ul class="menu blue">
                    <li ><a href="index.jsp" title="">Home</a></li>
                    <% if(session.getAttribute( "log" )!="" && session.getAttribute( "log" )!=null  ){         %>
                         <% if(session.getAttribute( "admin" )==""){%>
                            <li><a href="ControlerServlet?Operation=600" title="" >Personnel</a></li>
                        <%}%>
                        <li><a href="logout.jsp" title="" >Logout</a></li>
                     <% }else{ %> 
                        <li><a href="login.jsp" title="">Login</a></li>
                        <li><a href="register.jsp" title="" >Register</a></li>
                     <% } %>

                     <li><a href="ControlerServlet?Operation=150" title="" >Search</a></li>
                    <% if(session.getAttribute( "admin" )!="" && session.getAttribute( "admin" )!=null){ %>
                        <li ><a href="ajoutFilm.jsp" title="">Ajout film</a></li>
                        <li><a href="ajoutPer.jsp" title="" >Ajout personne</a></li>

                    <% } %>
                    <li><a href="about.jsp" title="">About Us</a></li>
                </ul>
            </div>


</html>
